package com.example.domain.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Paper {
    private Integer id;
    private String name;
    @JsonFormat(pattern = " yyyy-MM-dd  HH:mm:ss")
    private LocalDateTime creatTime;
    private Integer count;
    private BigDecimal avaScore;
    private Integer type; //0上架 1下架
}
